home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 3.iso
/
dist
/
fw_qt3.idb
/
usr
/
freeware
/
Qt
/
examples
/
demo
/
frame.h.z
/
frame.h
Wrap
C/C++ Source or Header
|
2002-04-08
|
1KB
|
40 lines
/****************************************************************************
** $Id: qt/frame.h 3.0.3 edited Oct 31 22:39 $
**
** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
**
** This file is part of an example program for Qt. This example
** program may be used, distributed and modified without limitation.
**
*****************************************************************************/
#include <qmainwindow.h>
class QStyle;
class QListBox;
class QListBoxItem;
class QWidgetStack;
class Frame : public QMainWindow {
Q_OBJECT
public:
Frame( QWidget *parent=0, const char *name=0 );
void addCategory( QWidget *w, const QPixmap &p, const QString &n );
void addCategory( QWidget *w, const QPixmap &p1, const QPixmap &p2, const QString &n );
static void updateTranslators();
private slots:
void setStyle( const QString& );
void clickedCategory( QListBoxItem * );
private:
QWidget *createCategory( const QString& );
int idEnglish;
QString title;
QListBox *categories;
QWidgetStack *stack;
};